﻿CREATE TABLE [dbo].[DefinedDisplayFormats] (
    [FormatType]     NVARCHAR (255) NOT NULL,
    [Format]         NVARCHAR (MAX) NOT NULL,
    [FilterEntityID] INT            CONSTRAINT [DF_DefinedDisplayFormats_FilterEntityID] DEFAULT ((0)) NOT NULL,
    CONSTRAINT [PK_DefinedDisplayFormats] PRIMARY KEY CLUSTERED ([FormatType] ASC),
    CONSTRAINT [FK_DefinedDisplayFormats_Entity] FOREIGN KEY ([FilterEntityID]) REFERENCES [dbo].[Entities] ([EntityID])
);

